﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VASJ.Model.Entities
{
    [DataContract]
    public class UserProfile
    {
        [DataMember]
        public UserInfo UserInfo { get; set; }

        [DataMember]
        public List<RoleInfor> RoleInfor { get; set; }
    }

    public class RoleInfor
    {
        public string UserId { get; set; }
        public string RoleId { get; set; }
        public string OrgId { get; set; }
    }

    public class UserInfo
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }

        public UserInfo()
        {
        }

        public UserInfo(Guid id, string name, string email)
        {
            Id = id;
            Name = name;
            Email = email;
        }
    }
}
